attach
{base}
Attach Set of R Objects to Search Path
theme
{GGPLOT2}
Set theme for GGPLOT2
theme_latex
{tinytable}
A theme for modelsummary/tinytable tables
slice_sample
{dplyr}
Randomly selects rows from a data frame or tibble.
leveneTest
{car}
Computes Levene’s test for homogeneity of variance across groups.
class
{base}
Retrieve class of an R object
modelsummary
{modelsummary}
Creates regression and data tables
set.seed
{base}
Initialise a pseudorandom number generator.
lm
{base}
Fit a linear model
ggplot
{GGPLOT2}
Create a ggplot graph
prop.table
{base}
Transform frequency table into table of proportions
library
{base}
Load an R package
dim
{base}
Get dimensions of a data frame
geom_point
{GGPLOT2}
Generates a scatter plot
t.test
{stats}
Performs one and two sample t-tests on vectors of data.
ordered
{dplyr}
Create an ordered factor
chisq.test
{stats}
Chi-Squared test (e.g. for cross-tabulations)
min
{base}
Get minimum of a vector
with
{base}
evaluate expression in the context of a data frame
plotPlane
{rockchalk}
Draw a 3-D regression plot for two predictors
c
{base}
Combine values/vectors into a vector
nrow
{base}
Get number of rows of a data frame
group_tt
{tinytable}
Grouping in tinytable
geom_hline
{GGPLOT2}
Add a horizontal line in GGPLOT2
recode
{dplyr}
Recode a variable
labs
{GGPLOT2}
Customise labels in GGPLOT2
cut
{base}
Convert Numeric to Factor
names
{base}
Retrieve names of a list/vector
read_excel
{readxl}
Read an Excel file
rename
{dplyr}
Renames columns in a data frame or tibble.
list
{base}
Create a list object
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
element_line
{GGPLOT2}
Customise line appearance
ylab
{GGPLOT2}
Label the y axis (ggplot)
median
{stats}
Get median of a vector
ggtitle
{GGPLOT2}
Generates a title for a ggplot graph
droplevels
{base}
Drop Unused Levels from Factors
ungroup
{dplyr}
Resolve grouping created with “group_by”
element_blank
{GGPLOT2}
This theme element draws nothing, and assigns no space
filter
{dplyr}
Filter out rows of a data frame according to logical vector
ifelse
{base}
Return a or b depending on the value of test
setwd
{base}
Set Working Directory
relevel
{stats}
Reorder Levels of Factor
as.numeric
{base}
Coerce a vector to numeric
read.csv
{utils}
Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters
confint
{stats}
Calculate confidence Intervals for Model Parameters
table
{base}
Obtain frequency table of a variable/cross-tabulation of two variables
log
{base}
log (default base = e)
round
{base}
Rounds numbers
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
element_text
{GGPLOT2}
Customise text in GGPLOT2
geom_smooth
{GGPLOT2}
Generates a smoothed conditional means curve / line
mutate
{dplyr}
Modify/create a column in a data frame
mean
{base}
Get mean of a vector
ls
{base}
Return a vector of character strings giving the names of the objects in the specified environment
levels
{base}
Get levels of a factor
summary
{base}
Obtain summary statistics or detailed regression output
prop.test
{stats}
Test of Equal or Given Proportions
select
{dplyr}
Select columns from a tibble/data frame
is.na
{base}
Check if a value is NA/elements of vector are NA
xlab
{GGPLOT2}
Label the x axis (ggplot)
geom_vline
{GGPLOT2}
Draws a vertical line
ggsave
{ggplot2}
Saves the last ggplot or a specified ggplot object to a file
colnames
{base}
Retrieve column names of a data frame
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
scale_y_continuous
{GGPLOT2}
Customise continuous y axis
is.element
{base}
Check if a value is element of a vector
theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
data.frame
{base}
Create a data.frame from vectors
subset
{base}
Return subsets of vectors, matrices or data frames which meet conditions.
rm
{base}
Remove objects
The end!